home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / DiskInit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.1 KB  |  50 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        DiskInit.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __DISKINIT__
  13. #define __DISKINIT__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19.  
  20. struct HFSDefaults {
  21.     char sigWord[2];    /* signature word*/
  22.     long abSize;        /* allocation block size in bytes*/
  23.     long clpSize;       /* clump size in bytes*/
  24.     long nxFreeFN;      /* next free file number*/
  25.     long btClpSize;     /* B-Tree clump size in bytes*/
  26.     short rsrv1;        /* reserved*/
  27.     short rsrv2;        /* reserved*/
  28.     short rsrv3;        /* reserved*/
  29. };
  30.  
  31. typedef struct HFSDefaults HFSDefaults;
  32.  
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37. pascal void DILoad(void); 
  38. pascal void DIUnload(void); 
  39. pascal short DIBadMount(Point where,long evtMessage); 
  40. OSErr dibadmount(Point *where,long evtMessage); 
  41. pascal OSErr DIFormat(short drvNum); 
  42. pascal OSErr DIVerify(short drvNum); 
  43. pascal OSErr DIZero(short drvNum,ConstStr255Param volName); 
  44. OSErr dizero(short drvnum,char *volName); 
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49. #endif
  50.